﻿using System;


namespace InteractiveFiction.Model
{
    public enum ActionType {PickUp, Drop, Fight, Kill }
    
    /// <summary>
    /// Something that a character, place or item can do.
    /// </summary>
    public class Verb
    {
        ActionType _actionType;
        bool _successful;

        public Verb(ActionType actiontype, bool successful)
        {
            _actionType = actiontype;
            _successful = successful;
        }

        public string ToString()
        {
            //if(_actionType != special)
            string s = "";
            if(!_successful)
                s += "unsuccessfully ";
            switch (_actionType)
            {
                case(ActionType.Kill):
                    return s + "killed:";
                default:
                    return "(((Error in Verb.ToString)))";
            }
        }
    }
}
